package day021.homework.p4;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        FileUtils.copyFileToDirectory(new File("D:\\ideaProjects\\javase_code\\study-practice\\src" +
                "\\day021\\tcp\\files\\123.jpg"), new File("D:\\ideaProjects\\javase_code\\study-practice\\src" +
                "\\day021\\homework\\p4\\copyDirectory"));

        FileUtils.copyDirectoryToDirectory(new File("D:\\ideaProjects\\javase_code\\study-practice\\src" +
                "\\day021\\tcp\\files"), new File("D:\\ideaProjects\\javase_code\\study-practice\\src" +
                "\\day021\\homework\\p4\\copyDirectory"));
    }
}
